package com.ruoyi.order.domain;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

public class ProductImportResult {
    private String sheetName;
    private int totalCount;
    private int successCount;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String errorMessage;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<ProductImportData> productList;

    // getters and setters
    public String getSheetName() { return sheetName; }
    public void setSheetName(String sheetName) { this.sheetName = sheetName; }

    public int getTotalCount() { return totalCount; }
    public void setTotalCount(int totalCount) { this.totalCount = totalCount; }

    public int getSuccessCount() { return successCount; }
    public void setSuccessCount(int successCount) { this.successCount = successCount; }

    public String getErrorMessage() { return errorMessage; }
    public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; }

    public List<ProductImportData> getProductList() { return productList; }
    public void setProductList(List<ProductImportData> productList) { this.productList = productList; }
}
